/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.midpdeviceprofiler;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.List;

/**
 *
 * @author helio.rodrigues
 */
public class MainMenuView extends List {

    private Command exitCommand = new Command("Exit", Command.SCREEN, 0);

    /**
     *
     */
    public MainMenuView() {
        super("Device Profiler", List.IMPLICIT);
        append("MIDP Profile", null);
        append("Supported API's", null);
        append("RAM Memory", null);
        addCommand(exitCommand);
        setCommandListener(DeviceProfilerMidlet.getInstance());
    }

    /**
     * @return the exitCommand
     */
    public Command getExitCommand() {
        return exitCommand;
    }
}
